.hades-dialog {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  user-select: none;

  div {
    box-sizing: border-box;
  }

  &-main {
    position: absolute;
    background-color: #ffffff;
    padding-top: 46px;
  }

  &-top-bar, &-bottom-bar {
    position: absolute;
    width: 100%;
    height: 8px;
    left: 0;
    z-index: 2;
    cursor: ns-resize;
  }

  &-top-bar {
    top: -.4rem
  }

  &-bottom-bar {
    bottom: -.4rem
  }

  &-right-bar, &-left-bar {
    position: absolute;
    height: 100%;
    width: 8px;
    top: 0;
    z-index: 2;
    cursor: ew-resize;
  }

  &-right-bar {
    right: -.4rem
  }

  &-left-bar {
    left: -.4rem
  }


  &-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    cursor: move;
    padding: 0 12px;
    z-index: 1;

    &-text {
      display: inline-block;
      line-height: 46px;
      font-weight: bold;
      color: #ffffff;
      font-size: 14px;
    }
  }

  &-body {
    height: 100%;
    width: 100%;
    position: relative;
  }

  &-iframe {
    display: block;
    height: 100%;
    width: 100%;
    border: 0;

    &-cover {
      display: none;
      position: absolute;
      left: 0;
      top: 0;
      z-index: 1;
      height: 100%;
      width: 100%;
    }
  }


  &-act {
    float: right;
    margin-top: 15px;
  }

  &-ico {
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-left: 12px;
    background-size: 100%;

    &-close {
      background-image: url("");
    }

    &-help {
      background-image: url("");
    }

    &-size {
      background-image: url("");
    }
  }

  &-max {

    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 100% !important;

    .hades-dialog-ico-size {
      background-image: url("");
    }
  }
}
